package com.iias.communication.message.client;

import com.iias.common.enums.MasterEnum;
import com.iias.communication.domain.ServiceInfo;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class ClientStart {


    Logger logger = LoggerFactory.getLogger(ClientStart.class);


    public static void main(String[] args) {
        ServiceInfo serviceInfo = new ServiceInfo();
        serviceInfo.setIp("127.0.0.1");
        serviceInfo.setPort(20000);
        serviceInfo.setMasterEnum(MasterEnum.MASTER);
        CommunicationClient client = new CommunicationClient(serviceInfo,null);
        client.connect();
    }
}
